// 该文件负责 所有的公共的组件 的 全局注册   Vue.use
import PageTools from './pageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import Screenfull from './ScreenFull/screenFull'
import ThemePicker from './ThemePicker/index'
import TagsView from './TagsView' // 导入页签
export default {
  install(Vue) {
    //  注册全局的通用栏组件对象
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel) // 注册导入excel组件
    Vue.component('ImageUpload', ImageUpload) // 图片上传
    Vue.component('Screenfull', Screenfull) // 全屏按钮组件
    Vue.component('ThemePicker', ThemePicker) // 主题设置
    Vue.component('TagsView', TagsView) // 页签
    Vue.use(Print) // 打印插件
  }
}
